package com.keyware.kd.service.impl.usersecret;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.keyware.kd.repository.entity.UserSecret;
import com.keyware.kd.repository.mybatis.itf.usersecret.UserSecretMapper;
import com.keyware.kd.service.itf.usersecret.UserSecretService;

import java.util.List;


@Service
public class UserSecretServiceImpl implements UserSecretService {
	
	@Autowired
	private UserSecretMapper userSecretMapper;

	@Override
	public int insertSelective(UserSecret userSecret) {
		return userSecretMapper.insertSelective(userSecret);
	}

	@Override
	public UserSecret selectByPrimaryKey(String id) {
		return userSecretMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKey(UserSecret userSecret) {
		return userSecretMapper.updateByPrimaryKey(userSecret);
	}

	@Override
	public void deleteByPrimaryKey(List<String> id) {
		userSecretMapper.deleteByPrimaryKey(id);
	}

}
